<%--
  Created by IntelliJ IDEA.
  User: niuxiaocong
  Date: 2022/4/28
  Time: 11:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <a href="hello">请求HelloWorld</a>
    <br>

    <%--演示RequestParams--%>
    <a href="requestParam/requestParamHello">requestParamHello</a>
    <br>
    <%--演示pathVariable--%>
    <a href="pathVariableController/pathVariableControlle/2204017228">pathVariable</a>
    <br>
    <%--演示Rest风格的请求方式--%>

    <a href="restOpr/getOpr">查询</a>

    <form action="restOpr/addOpr" method="post">
        <input type="submit" value="添加">
    </form>

    <form action="restOpr/delOpr" method="post">
        <input type="hidden" name="_method" value="delete">
        <input type="submit" value="删除">
    </form>

    <form action="restOpr/putOpr" method="post">
        <input type="hidden" name="_method" value="put">
        <input type="submit" value="更新">
    </form>

    <br>

    <%--请求头测试--%>
    <a href="header/requestHeaderApp">RequestHeader请求测试</a>
    <br>

    <%--测试Cookie--%>
    <a href="cookieValue/cookie">cookie请求测试</a>
</body>
</html>
